package com.live.stamp.web.message.model;

import lombok.Data;
import org.springframework.boot.container.core.common.BaseModel;
import org.springframework.boot.container.core.common.ServerField;
import org.springframework.boot.container.core.common.ServerModel;

import java.util.Date;

/**
 *
 */
@Data
@ServerModel("t_message")
public class TMessage extends BaseModel {

    @ServerField("toUserId")
    private String toUserId;
    @ServerField("fromUserName")
    private String fromUserName;
    @ServerField("fromUserPhoto")
    private String fromUserPhoto;
    @ServerField("fromUserId")
    private String fromUserId;
    @ServerField("type")
    private String type;
    @ServerField("content")
    private String content;
    @ServerField("busiId")
    private String busiId;
    @ServerField("createTime")
    private Date createTime;
    @ServerField("state")
    private String state;
}
